package top.ranzhang.bean.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class PageChildVO {
    private Integer id;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate birthday;

    /**
     * 购买课时
     */
    private Integer buyHour;

    private Integer userId;

    /**
     * 使用课时
     */
    private Integer useHour;

    /**
     * 赠送课时
     */
    private Integer giveHour;
    //总课时
    private Integer allHour;
    //剩余课时
    private Integer residueHour;
    /**
     * 1:男,0:女
     */
    private Integer sex;

    private String name;

    private String school;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime createTime;

    //电话号码
    private String username;

    private String password;

    private String parentalName;
}
